package com.yf.exam.modules.trainingarchives.organization.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yf.exam.modules.trainingarchives.organization.entity.Organization;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yf.exam.modules.trainingarchives.organization.vo.OrganizationVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 机构管理表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-12-29
 */
public interface OrganizationMapper extends BaseMapper<Organization> {

    IPage<OrganizationVO> paging(Page page,@Param("params") OrganizationVO params);

    List<OrganizationVO> getOrgList(@Param("id") String id);
}
